import cv2
import numpy as np
import matplotlib.pyplot as plt

img=cv2.imread('CV-Pictures/019.jpg',cv2.IMREAD_REDUCED_GRAYSCALE_2)
img2=cv2.equalizeHist(img)
clahe=cv2.createCLAHE(clipLimit=40)
img3=clahe.apply(img)
cv2.imshow('equalization',img2)
cv2.imshow('img',img)
cv2.imshow('img3',img3)
cv2.waitKey(0)
cv2.destroyAllWindows()